﻿(function () {
    var service = angular.module('MyServices');
    // 创建一个 angularjs 服务模块
    service.factory('navService', [function () {
        var links = [];
        links.push({
            name: '基础数据管理', logo: 'fa fa-cog', urls: [
                { link: '#/examSite/info', title: '首页' }
            ]
        });
        links.push({
            name: '考试计划管理', logo: 'fa fa-list-ul', urls: [
                 { link: '#/examPlan/list', title: '考试计划管理' }
            ]
        });
        links.push({
            name: '考场监控管理', logo: 'fa fa-desktop', urls: [
                 { link: '#/examMonitor/planList', title: '考场监控' },
                 { link: '#/examReport/planList', title: '考试结果管理' }
            ]
        });
        //links.push({
        //    name: '辅助管理', logo: 'fa fa-archive', urls: [
        //         { link: '#/examClient/index', title: '考试客户端' },
        //         { link: '#/photo/planList', title: '照片采集' },
        //         { link: '#/signIn/planList', title: '签到管理' },
        //         { link: '#/process/planList', title: '数据维护' },
        //         { link: '#/unExpected/planList', title: '意外处理' }
        //    ]
        //});
        return links;
    }]);
})();
